﻿using System;
using log4net;

namespace UpdateService
{

    public class Logging
    {

        public static void LogError(string message, Exception ex)
        {
            ILog logger = LogManager.GetLogger("System");
            if (logger.IsErrorEnabled)
                logger.Error(message, ex);
        }

    }

}
